import instance from '@/http/request'

// 验证手机号是否被注册
export function doCheckPhoneApi(data) {
    return instance({
        url: '/api/user/docheckphone',
        method: 'post',
        data
    })
}

//发送验证码接口
export function doSendMessageApi(data) {
    return instance({
        url: '/api/user/dosendmsgcode',
        method: 'post',
        data
    })
}

// 注册接口
export function registApi(data) {
    return instance({
        url: '/api/user/dofinishregister',
        method: 'post',
        data
    })
}
